package com.zzw.spring.event;

import org.springframework.context.ApplicationListener;

public class MailSendListener implements ApplicationListener<MailSendEvent>{

	@Override
	public void onApplicationEvent(MailSendEvent event) {
		MailSendEvent mse = event;
		System.out.println("MailSendListener:向" + mse.getTo() + "发送完一封邮件");
	}

}
